<template>
  <el-form :model="form" label-width="auto" style="max-width: 600px">
    <el-form-item label="企业logo">
      <el-input v-model="form.name" />
    </el-form-item>
    <el-form-item label="开屏配置">
      <el-select v-model="form.region" placeholder="please select your zone">
        <el-option label="Zone one" value="shanghai" />
        <el-option label="Zone two" value="beijing" />
      </el-select>
    </el-form-item>
    <el-form-item label="底部信息栏">
      <el-input v-model="form.name" />
    </el-form-item>
  </el-form>
</template>

<script lang="ts" setup>
import { isStr } from '@hg/utils/type-is'

console.log("----",isStr);
console.log("----",isStr);

// do not use same name with ref
const form = reactive({
  name: '',
  region: '',
  date1: '',
  date2: '',
  delivery: false,
  type: [],
  resource: '',
  desc: '',
})

const onSubmit = () => {
  console.log('submit!')
}
</script>
